<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                >
    <f:view contentType="text/html" >
        <h:panelGrid columns="2" width="100%">

            

            <p:columnChart value="#{productionReportUI.dailySummary}" var="prdChart"  
                        xfield="#{prdChart.productionTime}" 

                        height="" width=""> 

                <p:chartSeries label="Planned" value="#{prdChart.plannedCount}" />  
                <p:chartSeries label="Actual" value="#{prdChart.productionCount}" />  

            </p:columnChart> 


<!--            <p:dataTable var="productionDT" 
                         value="productionReportUI.dailySummary}"
                         id="productionTB" 
                         paginator="true"
                         paginatorPosition="bottom"
                         rows="5"
                         >

                <p:column  >
                    <h:outputText value="productionDT.productionTime}" style="font-size: 20px"/>
                </p:column>
                <p:spacer width="10%"/>
                <p:column  >
                    <h:outputText value="productionDT.reworkCount}" style="font-size: 20px"/>
                </p:column>
            </p:dataTable>-->

        </h:panelGrid>
    </f:view>
</ui:composition>